<?php
/*require_once("db_functions.class.php");
$db = new db_functions();

$q = "SHOW TABLE STATUS";
$res = $db->select2($q);

$repaired=false;


foreach ($res as $row){
	$name = $row["Name"];
	$free = $row["Data_free"];
	
	if($free > 0){
		$repaired=true;
		$db->alterTable("OPTIMIZE TABLE $name") or die(mysql_error());
		echo "$name - $free B optimized<br />\r\n";
	}
}

if(!$repaired){
	echo "Nothing was optimized.\nEverything seems to be fine.";
}
*/
?>